package com.jt.anno;


import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;



public class pointcut {
    //1、定义切入点表达式
    @Pointcut("@annotation(com.jt.anno.Cache)")
    public void pointcut(){

    }
    @Before("pointcut()")
    public void brefore(){
        System.out.println("我是before通知");
    }
}
